import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as echarts from 'echarts'
import * as api from './assets/js/api.js'
import axios from 'axios'
import VueAxios from 'vue-axios'
import qs from 'qs'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/global.css'
/* import 'swiper/dist/css/swiper.min.css'
import 'swiper/dist/js/swiper.min' */
import VueAwesomeSwiper from "vue-awesome-swiper";
import "swiper/dist/css/swiper.css";
import 'lib-flexible';

/* Vue.component("swiper", swiper);//全局自定义组件
Vue.component("swiperSlide", swiperSlide);//全局自定义组件 */

Vue.use(VueAwesomeSwiper, /* { default global options } */)

Vue.use(ElementUI);

Vue.use(VueAxios, axios)

Vue.prototype.$qs = qs

Vue.prototype.$axios = axios

Vue.prototype.$api = api

Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
